{
  LW Animation Savers -- LightWave Animation Loaders Handlers

  Based on lwanimsav.h which is:
  Copyright 1999, NewTek, Inc.
}

{
  Copyright 2012, Jameel Halabi

  This unit is part of the BlaiseWave wrapper,
  which is licensed under the BSD 2-Clause license (see licenses/license.txt).
}

unit LW_Animsav;

{$mode objfpc}{$H+}

interface

uses
  LW_Types   ,
  LW_ImageIO ,
  LW_Render  ,
  LW_Handler ;

const
  LWANIMSAVER_HCLASS	= 'AnimSaverHandler'  ;
  LWANIMSAVER_ICLASS	= 'AnimSaverInterface';
  LWANIMSAVER_VERSION	= 4                   ;

type
  TLWAnimSaverHandler = record
	Inst       : PLWInstanceFuncs ;
	Item       : PLWItemFuncs     ;
	Type_      : Integer          ;
	Open       : function
                     (       Instance  : PLWInstance         ;
                             W                               ,
                             H         : Integer             ;
                       const Filename  : PChar               ) : PLWError;
	Close      : procedure
                     (       Instance  : PLWInstance         );
	Begin_     : function
                     (       Instance  : PLWInstance         ) : PLWError;
	Write      : function
                     (       Instance  : PLWInstance         ;
                       const R                               ,
                             G                               ,
                             B                               ,
                             Alpha     : Pointer             ) : PLWError;
end;

implementation

end.

